package cn.tedu.oa.sys.entity;

import cn.tedu.oa.common.entity.BaseEntity;

import java.util.Date;

public class Log extends BaseEntity {

    private String username;    /**操作用户*/
    private String operation;   /**执行的操作*/
    private String method;      /**执行这个操作对应的方法*/
    private String params;      /**调用方法时传入的参数*/
    private Long time;          /**方法的执行时间*/
    private String ip;          /**用户端的ip地址*/
    private Date createdTime;   /**这个日志的创建时间*/

    public Log() {
    }

    public String getUsername() { return username; }

    public void setUsername(String username) { this.username = username; }

    public String getOperation() { return operation; }

    public void setOperation(String operation) { this.operation = operation; }

    public String getMethod() { return method; }

    public void setMethod(String method) { this.method = method; }

    public String getParams() { return params; }

    public void setParams(String params) { this.params = params; }

    public Long getTime() { return time; }

    public void setTime(Long time) { this.time = time; }

    public String getIp() { return ip; }

    public void setIp(String ip) { this.ip = ip; }

    public Date getCreatedTime() { return createdTime; }

    public void setCreatedTime(Date createdTime) { this.createdTime = createdTime; }
}
